#include <stdio.h>

//数100以内9的个数

int main() {
    int num = 100;
    int count = 0;
    int tmp = num;
    while (tmp /= 10) {
        count++;
    }
    printf("%d", num * count / 10);
    return 0;
}